import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import './utils/myfilter'
Vue.config.productionTip = false;
// 全局组件的创建
Vue.component("listCom", {
  // template:"<div></div>"
  render: h => h("div", {
    class: {
      foo: true,
      active: true
    },
    style: {
      color: "red"
    },
    on: {
      click () {
        alert(111)
      }
    }
  }, [
    h('span', {}, "微软"),
    h('span', {}, "goole")
  ]),
  data () {
    return {}
  },
  methods: {
  }
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
